const axios = require('axios');
/* 异步函数执行 */
!(async()=>{
    const result = await axios.get('http://jsonplaceholder.typicode.com/posts',{params:{
        id:1
    }});
    console.log(result.data);
})()
